<?php

class Photo_Form_Upload extends Nuo_Form
{
	function init()
	{
		$this -> addChild('file', 'photo', array(
			'label' => 'Photo',
			'isMulti' => 1,
			'multiple' => 1,
			'id' => 'input-upload-photo',
		));

		$this -> addChild('radio', 'privacy', array(
			'label' => 'Privacy',
			'multiOptions' => array(
				0 => 'Everyone',
				1 => 'Friends',
				2 => 'Friends of Friends',
				3 => 'Onlyme'
			),
		));

		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');
	}

}
